package com.opencloud.iot.client.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 基础记录
 * @author yeyong
 */
@TableName("iot_move_observer")
public class IotMoveObserver implements Serializable {

    private static final long serialVersionUID= 1417947673390066177L;

    /**
     * 自增长ID
     */
    @ApiModelProperty(value = "自增长ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * MAC地址
     */
    @ApiModelProperty(value = "MAC地址")
    private String watchmac;

    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间")
    private Long starttime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间")
    private Long endtime;

    /**
     * 低强度时长
     */
    @ApiModelProperty(value = "低强度时长")
    private Integer lowseconds;

    /**
     * 中强度时长
     */
    @ApiModelProperty(value = "中强度时长")
    private Integer middleseconds;

    /**
     * 高强度时长
     */
    @ApiModelProperty(value = "高强度时长")
    private Integer highseconds;

    /**
     * 低强度次数
     */
    @ApiModelProperty(value = "低强度次数")
    private Integer lowcounts;

    /**
     * 中强度次数
     */
    @ApiModelProperty(value = "中强度次数")
    private Integer middlecounts;

    /**
     * 高强度次数
     */
    @ApiModelProperty(value = "高强度次数")
    private Integer highcounts;

    /**
     * 平均值
     */
    @ApiModelProperty(value = "平均值")
    private Double avgvalue;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWatchmac() {
        return watchmac;
    }

    public void setWatchmac(String watchmac) {
        this.watchmac = watchmac;
    }

    public Long getStarttime() {
        return starttime;
    }

    public void setStarttime(Long starttime) {
        this.starttime = starttime;
    }

    public Long getEndtime() {
        return endtime;
    }

    public void setEndtime(Long endtime) {
        this.endtime = endtime;
    }

    public Integer getLowseconds() {
        return lowseconds;
    }

    public void setLowseconds(Integer lowseconds) {
        this.lowseconds = lowseconds;
    }

    public Integer getMiddleseconds() {
        return middleseconds;
    }

    public void setMiddleseconds(Integer middleseconds) {
        this.middleseconds = middleseconds;
    }

    public Integer getHighseconds() {
        return highseconds;
    }

    public void setHighseconds(Integer highseconds) {
        this.highseconds = highseconds;
    }

    public Integer getLowcounts() {
        return lowcounts;
    }

    public void setLowcounts(Integer lowcounts) {
        this.lowcounts = lowcounts;
    }

    public Integer getMiddlecounts() {
        return middlecounts;
    }

    public void setMiddlecounts(Integer middlecounts) {
        this.middlecounts = middlecounts;
    }

    public Integer getHighcounts() {
        return highcounts;
    }

    public void setHighcounts(Integer highcounts) {
        this.highcounts = highcounts;
    }

    public Double getAvgvalue() {
        return avgvalue;
    }

    public void setAvgvalue(Double avgvalue) {
        this.avgvalue = avgvalue;
    }

    @Override
    public String toString() {
        return "IotMoveObserver{" +
                "id=" + id +
                ", watchmac=" + watchmac +
                ", starttime=" + starttime +
                ", endtime=" + endtime +
                ", lowseconds=" + lowseconds +
                ", middleseconds=" + middleseconds +
                ", highseconds=" + highseconds +
                ", lowcounts=" + lowcounts +
                ", middlecounts=" + middlecounts +
                ", highcounts=" + highcounts +
                ", avgvalue=" + avgvalue +
                "}";
    }
}
